
import request from '@/utils/request'

// 查询列表
export function queryTableData() {
  return request({
    url: '/funConfig/information/list',
    method: 'get'
  })
}

export const column = [
  {
    headerName: "父设备", field: "topEqp", width: 150, filter: 'agMultiColumnFilter'
  },
  {
    headerName: "父设备基准", field: "topEqpSt", width: 100, filter: 'agMultiColumnFilter'
  },
  {
    headerName: '腔体组损失数量组合',
    children: [
      { headerName: "G1", field: "pg1Count", minWidth: 80, flex: 1, filter: 'agMultiColumnFilter' },
      { headerName: "G2", field: "pg2Count", minWidth: 80, flex: 1, filter: 'agMultiColumnFilter' },
      { headerName: "G3", field: "pg3Count", minWidth: 80, flex: 1, filter: 'agMultiColumnFilter' },
      { headerName: "G4", field: "pg4Count", minWidth: 80, flex: 1, filter: 'agMultiColumnFilter' },
      { headerName: "G5", field: "pg5Count", minWidth: 80, flex: 1, filter: 'agMultiColumnFilter' }
    ]
  },
  {
    headerName: '腔体组损失组合基准ST',
    children: [
      { headerName: "G1", field: "pg1St", minWidth: 80, flex: 1, filter: 'agMultiColumnFilter' },
      { headerName: "G2", field: "pg2St", minWidth: 80, flex: 1, filter: 'agMultiColumnFilter' },
      { headerName: "G3", field: "pg3St", minWidth: 80, flex: 1, filter: 'agMultiColumnFilter' },
      { headerName: "G4", field: "pg4St", minWidth: 80, flex: 1, filter: 'agMultiColumnFilter' },
      { headerName: "G5", field: "pg5St", minWidth: 80, flex: 1, filter: 'agMultiColumnFilter' }
    ]
  },
  {
    headerName: "损失反应率", field: "ratio", width: 100, filter: 'agMultiColumnFilter'
  }
]
